package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Order;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderMapper {
    int insert(Order record);
    List<Order> selectAll();
    List<Map<String, Object>> selectByOrderNum(@Param("userId") Long userId, @Param("closeTime") Date closeTime);
    Date selectCloseTime(Long userId);
}